module linked_list;

//   'include<list.vh>;
   List#(integer) int_list ;
   List_Iterator#(integer) int_list_itor ;

initial
begin
   int_list = new() ;
   $display( "Size of Linked List is %d", int_list.size() );

   int_list.push_back(10) ;
   int_list.push_back(22) ;
   $display( "Size of Linked List is %d", int_list.size() );

   $display("Popping from list: %d \n", int_list.front() ) ;
   $display("Popping from list: %d \n", int_list.front() ) ;
   int_list.pop_front() ;
   int_list.pop_front() ;
   $display( "Size of Linked List is %d", int_list.size() );
   
end

endmodule
